// pages/index/shiyi/shiyiq/ shiyiq.js
var api = require('../../../../utils/api.js');
const app = getApp();
Page({

    data: {

        imgUrls: [],

        curr:"",
      imgUrl: app.globalData.imgUrl


    },

    /*点击切换页面*/

  onLoad: function(){
    this.getimg();
  },

  getimg: function(){
    var that = this;
    api.post({
      url:'festival/Index/getList',
      data:{cid:1},
      success: res=>{
        console.log(res);
        that.setData({
          imgUrls:res.data
        })
      }
    })
  },

  /**
 * 用户点击右上角分享
 */
  onShareAppMessage: function () {
    return {
      title: '祝您国庆节快乐！',
      desc: '大家都在送祝福，你也来给朋友送祝福吧!',
      path: '/pages/index/shiyi/shiyiq/shiyiq'
    }

  }


})

